$OpenBSD: patch-wpa_supplicant_main_c,v 1.1 2014/09/08 08:28:23 dcoppa Exp $

Remove Linuxisms from usage()

--- wpa_supplicant/main.c.orig	Wed Jun  4 15:26:14 2014
+++ wpa_supplicant/main.c	Mon Sep  8 09:45:48 2014
@@ -67,7 +67,7 @@ static void usage(void)
 	       "  -i = interface name\n"
 	       "  -I = additional configuration file\n"
 	       "  -d = increase debugging verbosity (-dd even more)\n"
-	       "  -D = driver name (can be multiple drivers: nl80211,wext)\n"
+	       "  -D = driver name\n"
 	       "  -e = entropy file\n");
 #ifdef CONFIG_DEBUG_FILE
 	printf("  -f = log output to debug file instead of stdout\n");
@@ -101,8 +101,7 @@ static void usage(void)
 	       "  -N = start describing new interface\n");
 
 	printf("example:\n"
-	       "  wpa_supplicant -D%s -iwlan0 -c/etc/wpa_supplicant.conf\n",
-	       wpa_drivers[0] ? wpa_drivers[0]->name : "nl80211");
+	       "  wpa_supplicant -D openbsd -i athn0 -c /etc/wpa_supplicant.conf\n");
 #endif /* CONFIG_NO_STDOUT_DEBUG */
 }
 
